<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link href="../metro/css/metro-all.css?ver=@@b-version" rel="stylesheet">

    <title>Test Checkbox - Metro 4 :: Popular HTML, CSS and JS library</title>

</head>
<body class="m4-cloak">
<div class="container">
    <h1>Checkbox test page</h1>

    <div>
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox">
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" checked>
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" disabled>
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" disabled checked>
    </div>

    <div>
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" data-style="2">
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" checked data-style="2">
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" disabled data-style="2">
        <input type="checkbox" data-role="checkbox" data-caption="Checkbox" disabled checked data-style="2">
    </div>

    <br>
    <div>
        <div>
            <button class="button" onclick="Metro.getPlugin('#chk1', 'checkbox').toggle(-1)">Indeterminate</button>
            <button class="button" onclick="Metro.getPlugin('#chk1', 'checkbox').toggle(1)">Checked</button>
            <button class="button" onclick="Metro.getPlugin('#chk1', 'checkbox').toggle(0)">UnChecked</button>
            <button class="button" onclick="Metro.getPlugin('#chk1', 'checkbox').toggle()">Toggle</button>
        </div>
        <br>
        <div>
            <input type="checkbox" data-role="checkbox" id="chk1" data-caption="Remote controlled">
        </div>
    </div>

</div>

<script src="../metro/js/metro.js?ver=@@b-version"></script>
<script>
</script>
</body>
</html>
